package com.szly.phm.common.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户-组织结构关系表
 * </p>
 *
 * @author admin
 * @since 2021-07-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_user_org")
public class SysUserOrg extends Model<SysUserOrg> {

    private static final long serialVersionUID=1L;

    private String id;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 组织机构id
     */
    private String orgId;

    /**
     * 是否岗位
     */
    private Boolean isStation;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
